* {
  color: var(--white);
}

body {
  padding: 2vh;
}

.hero {
  position: relative;
  max-width: 100vw;
  gap: 20px;
  min-height: 100vh;
}

.hero__info {
  top: 20px;
  left: 20px;
  z-index: 1000;
  max-width: 100vw;
  height: 2vh;
  justify-content: space-between;
}

.initial-info {
  width: 33.33%;
}

.initial-info.year {
  text-align: center;
}

.initial-info.industry {
  text-align: right;
}

.hero__media {
  position: relative;
  width: 52vw;
}

.hero__media video {
  height: auto;
  width: 52vw;
  min-width: 0;
  min-height: 0;
  opacity: 1;
}

.hero__content {
  gap: 2vw;
}

.hero__project {
  justify-content: end;
  font-size: 0.8rem;
  width: 200px;
}

.hero__project.team {
  margin-left: 5vw;
}

.hero__description {
  font-size: var(--main);
  gap: 2%;
  width: 52vw;
  margin: 20px 0;
  height: auto;
}

.description {
  width: 32%;
}

.description p {
  opacity: 0.2;
  transition: 0.3s;
}

.description:hover p {
  opacity: 1;
  transition: 0.3s;
}

.description p.description__title {
  opacity: 1 !important;
  margin-bottom: 20px;
}

.media-switch-box {
  position: sticky;
  top: 20px;
  left: 20px;
}

.media-switch button {
  background-color: #00000088;
  border: solid var(--white) 1px;
  padding: 5px;
  margin-bottom: 10px;
  width: 100px;
}

.media-switch button:hover {
  background-color: var(--blackOP1);
}

.media-switch button.set {
  background-color: var(--blackOP1);
}

.media-to-switch .set {
  display: block;
}

.media-to-switch .unset {
  display: none;
}

.gallery__section {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  position: relative;
}

.media-box .project-media {
  margin-bottom: 10px;
}

.media-box .project-media:last-child {
  margin-bottom: 0;
}

.gallery__section .half.flex,
.gallery__section .one-third.flex,
.gallery__section .two-third.flex {
  gap: 10.5px;
}

.gallery__section .half video {
  width: 100%;
}

.gallery__section .half {
  width: 50%;
  object-fit: cover;
}

.gallery__section .half.vertical {
  overflow: hidden;
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.gallery__section .project-media.horizontal {
  overflow: hidden;
  height: 100%;
  object-fit: cover;
}

.gallery__section .half.vertical img {
  height: 100%;
  object-fit: cover;
}

.gallery__section .one-third {
  width: 33.33%;
  object-fit: cover;
}

.gallery__section .two-third {
  width: 66.66%;
  object-fit: cover;
}

.gallery__section img {
  height: auto;
  width: 100%;
}

.gallery__section video {
  height: auto;
  width: 100%;
}

.gallery__section iframe body,
.gallery__section iframe html,
.gallery__section iframe .player,
.gallery__section iframe .fallback {
  height: unset !important;
}

.hero__info .initial-info p {
  cursor: default !important;
}

.hero__info.kholdina .initial-info p {
  color: #f01000;
}

.hero__info.tess .initial-info p {
  color: #2c6aa3;
}

.hero__info.allsync .initial-info p {
  color: #ffe326;
}

.hero__info.datwave .initial-info p {
  color: #4285f5;
}

.hero__info.pinga .initial-info p {
  color: #e8423b;
}

.hero__info.inevitable .initial-info p {
  color: #9da7b3;
}

.project__links.projects {
  display: block;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    height: auto;
    gap: unset;
  }

  .hero__info {
    height: 30px;
  }

  .hero__media {
    width: 64%;
  }

  .hero__media video {
    width: 100%;
  }

  .hero__content {
    width: 100%;
    gap: 3%;
  }

  .hero__description {
    width: 100%;
  }

  .hero__project {
    width: 20%;
    justify-content: space-between;
  }

  .hero__project.team {
    width: 10%;
    margin-left: unset;
  }

  .description p {
    opacity: 0.5;
  }

  .gallery__section {
    flex-direction: column;
  }

  .gallery__section .half,
  .gallery__section .one-third,
  .gallery__section .two-third {
    width: 100%;
  }

  .media-switch {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__info {
    font-size: 0.8rem;
  }

  .hero__content,
  .hero__description {
    flex-wrap: wrap;
    gap: unset;
    margin-top: unset;
  }

  .hero__media,
  .hero__project,
  .hero__project.team,
  .hero__description .description {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border: solid var(--carbon);
    border-width: 0 0 1px 0;
  }

  .initial-info.year {
    width: 20%;
  }

  .initial-info.year {
    width: 40%;
  }
}
